package com.fintech.third.model.shzx;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 贷款交易信息节点，对应的对象
 * @author xiongxianghua
 *
 * 2017年11月24日
 */
public class EdcZxPersonalLoanOrderObjInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//个人贷款交易信息概要，信息概要节点
	private EdcZxPersonalLoanOrderInfo loanOrderInfo;
	//个人贷款交易详细，贷款节点
	private List<EdcZxPersonalLoanOrderDetailsInfo> loanOrderDetailsList;
	
	public void addLoanOrderDetailsList(EdcZxPersonalLoanOrderDetailsInfo info){
		if(null!=loanOrderDetailsList){
			loanOrderDetailsList.add(info);
		}else {
			loanOrderDetailsList=new ArrayList<EdcZxPersonalLoanOrderDetailsInfo>();
			loanOrderDetailsList.add(info);
		}
	}
	
	public EdcZxPersonalLoanOrderInfo getLoanOrderInfo() {
		return loanOrderInfo;
	}
	public void setLoanOrderInfo(EdcZxPersonalLoanOrderInfo loanOrderInfo) {
		this.loanOrderInfo = loanOrderInfo;
	}
	public List<EdcZxPersonalLoanOrderDetailsInfo> getLoanOrderDetailsList() {
		return loanOrderDetailsList;
	}
	public void setLoanOrderDetailsList(List<EdcZxPersonalLoanOrderDetailsInfo> loanOrderDetailsList) {
		this.loanOrderDetailsList = loanOrderDetailsList;
	}
	@Override
	public String toString() {
		return "EdcZxPersonalLoanOrderObjInfo [LoanOrderInfo=" + loanOrderInfo + ", LoanOrderDetailsList="
				+ loanOrderDetailsList + "]";
	}
	
	
}
